package web;

/**
 * Created by cww
 * Date : 2018/5/10
 */
public class MessageController {
    /*spring框架直接依赖实现，dubbo则依赖接口
* IOC控制反转，DI依赖注入，用spring容器来管理MessageService
* 不需要再创建对象*/
//    @Autowired
//    private static MessageService messageService;


    public static void main(String[] args) {
        printMessage();
    }

    public static void printMessage(){
//        System.out.println(messageService.getMessage("hahahhahahahahahahahahh"));
    }
}
